/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Creational.Builder;

/**
 *
 * @author Juan
 */
public class Main {
    public static void main(String[]args){
        ComputadorDirector director = new ComputadorDirector();
        director.setComputadorBuilder(new AMDBuilder());
        director.constructPC();
        Computador computador= director.getComputador();
        System.out.println(computador.getPlacaMadre());
        System.out.println(computador.getTargetaVideo());
      
    }
}
